/** 默认表格宽度 */
export const defaultTableCellWidth = 100;
/** 无效的渲染数据切片长度 */
export const invliadRenderDataLength = -1;
/** 单元格高度 */
export const cellHeight = 42;
/** 默认分批加载长度 */
export const defaultBatchRenderSize = 100;

export const noop = () => {}
export const stopPropagation = (evt: any) => {evt.stopPropagation();};
export const emptyAry: any[] = [];
export const emptyObj = {};
export const inputFocus = (evt: any) => {
  //为了保证第一次渲染input时能选中值 所以加定时器延后选中
  setTimeout(() => {
    evt.target.select();
  },0)
};
/** 选中列宽度 */
export const checkboxColWidth = 40;

export const defaultSorterDirections = ['ascend', 'descend']
